import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import Svgicon from '@/components/Svgicon.vue'
import type { App } from 'vue'

export default{
    install: (app:App)=>{
        for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
            app.component(key, component)
          }
              // 注册svg-icon组件 
    app.component('Svgicon', Svgicon)
    },
}